package myJs.myPkg

import scala.scalajs.js

/**
 * Created by yz on 7/7/2020
 */
@js.native
trait WindowBase64 extends js.Object {

  /**
   * Creates a base-64 encoded ASCII string from a "string" of binary data.
   */
  def btoa(rawString: String): String = js.native

  /**
   * Decodes a string of data which has been encoded using base-64 encoding.
   */
  def atob(encodedString: String): String = js.native
}

object WindowBase64{

}
